import api from './request_api'
export const getbanner = (user: any) => api.get(`/banner/?page=${user.page}&limit=${user.limit}&keyword=${user.keyword}&sort=%2Bid`)

export const editBanner = (user:any,id:any)=>api.put(`/banner/${id}`,user)

export const addBanner = (user:any)=>api.post(`/banner`,user)

export const getwoBanner = (id:any)=>api.get(`/banner/${id}`)
